﻿<%@ Page Title="" Language="vb" AutoEventWireup="false" MasterPageFile="~/Site.Master" CodeBehind="TopGames.aspx.vb" Inherits="GamerZ.TopGames" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <asp:Chart ID="Chart1" runat="server" DataSourceID="SqlDataSource1" 
        Height="800px" Width="771px">
    <Series>
        <asp:Series ChartType="Pie" Name="Series1" XValueMember="Gamerz_Name" 
            YValueMembers="AvgOfrate" YValuesPerPoint="4">
        </asp:Series>
    </Series>
    <ChartAreas>
        <asp:ChartArea Name="ChartArea1">
        </asp:ChartArea>
    </ChartAreas>
</asp:Chart>
<asp:SqlDataSource ID="SqlDataSource1" runat="server" 
    ConnectionString="<%$ ConnectionStrings:ConnectionString %>" 
    ProviderName="<%$ ConnectionStrings:ConnectionString.ProviderName %>" 
    SelectCommand="SELECT Top 10 [AvgOfrate], [Gamerz_Name] FROM [GamerZRateQ]">
</asp:SqlDataSource>
    <br />
    <br />
</asp:Content>
